﻿Imports System.Linq
Imports TNCDAL

Public Class ContFeeController
    Private objRepository As New ContFeeRepository

    Public Function SelectAllRecord() As IQueryable(Of tblContFee)
        Return objRepository.SelectAllRecord()
    End Function

    Public Function SelectRecordById(ByVal id As Integer) As tblContFee
        Return objRepository.SelectRecordById(id)
    End Function

    Public Sub Insert(ByVal obj As tblContFee)
        objRepository.Insert(obj)
    End Sub

    Public Sub Update(ByVal obj As tblContFee)
        objRepository.Update(obj)
    End Sub

    Public Function SelectCustomContFee(ByVal id_cont As Integer) As IQueryable
        Return objRepository.SelectCustomContFee(id_cont)
    End Function
End Class
